package com.zxw.order.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxw.common.core.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ec_order_goods")
public class OrderGoods extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer orderId;

    private String goodsName;

    /**
     * 数量
     */
    private Float num;

    private BigDecimal goodsPrice;

    private BigDecimal goodsMinPrice;

    private String deliveryState;

    /**
     * 是否生产
     */
    private String whetherProduct;

    private String imgUrl;

    /**
     * 生产当前工序
     */
    private String produceCurrentProcess;

    /**
     * 已生产未发货数量
     */
    private BigDecimal alreadyProductNoShipmentsNum;

    /**
     * 已到货数量
     */
    private Float alreadyArrivedNum;

    /**
     * 折扣
     */
    private Float discount;

    /**
     * 未生产数量
     */
    private Float notProduceNum;

    /**
     * 已生产数量
     */
    private Float alreadyProduceNum;

    /**
     * 未发货数量
     */
    private Float notDeliveryNum;

    /**
     * 已发货数量
     */
    private Float deliveryNum;

    /**
     * 添加后库存余量
     */
    private Float storeGoodsMarginNum;

    private Float weight;

    private Long goodsId;

    private Long produceId;

    private BigDecimal ogDecimal1;

    private BigDecimal ogDecimal2;

    private BigDecimal ogDecimal3;

    private BigDecimal ogDecimal4;

    private BigDecimal ogDecimal5;

    private BigDecimal ogDecimal6;

    private BigDecimal ogDecimal7;

    private BigDecimal ogDecimal8;

    private BigDecimal ogDecimal9;

    private BigDecimal ogDecimal10;

    private String ogVarchar1;

    private String ogVarchar2;

    private String ogVarchar3;

    private String ogVarchar4;

    private String ogVarchar5;

    private String ogVarchar6;

    private String ogVarchar7;

    private String ogVarchar8;

    private String ogVarchar9;

    private String ogVarchar10;

    private LocalDateTime ogDate1;

    private LocalDateTime ogDate2;

    private LocalDateTime ogDate3;

    private LocalDateTime ogDate4;

    private LocalDateTime ogDate5;


}
